package com.gimi.test_jpa.com.gimi.dao;



import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gimi.test_jpa.com.gimi.dto.customer.CustomerContactInfoDto;
import com.gimi.test_jpa.com.gimi.entity.customer.CustomerContactInfoEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerContactInfoDao extends BaseMapper<CustomerContactInfoEntity> {
    CustomerContactInfoEntity selectCusInfoById(String cusContactId);

    List<CustomerContactInfoDto> findbyCusPhone(@Param("cusPhone") String cusPhone, @Param("cusEmail")String cusEmail);
}
